//
//  LGInputAccessoryView.h
//  ALS3.0
//
//  Created by guomianxiang on 2017/4/13.
//  Copyright © 2017年 guomianxiang. All rights reserved.
//

#import <UIKit/UIKit.h>



typedef NS_OPTIONS(NSUInteger, LGInputAccessoryViewActionStyle) {
    LGInputAccessoryViewActionStyleComplete = 0,
    LGInputAccessoryViewActionStyleNext = 1,
    LGInputAccessoryViewActionStylePrev = 2,
};

//typedef NS_OPTIONS(NSUInteger, LGInputAccesssoryViewType) {
//    LGInputAccesssoryViewNoraml = 0,
//    LGInputAccesssoryViewOhter = 1,
//};
//

@protocol LGInputAccessoryViewActionDelegate <NSObject>
@optional
- (void)inputAccessoryViewCommitActionStyle:(LGInputAccessoryViewActionStyle)inputAccessoryViewActionStyle;
@end

@interface LGInputAccessoryView : UIToolbar

@property (weak, nonatomic) id<LGInputAccessoryViewActionDelegate> actionDelegate;

//- (void)setActionDelegate:(id<LGInputAccessoryViewActionDelegate>)actionDelegate;

@end
